package com.hui.entity;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: 李昭辉
 * @Date: 2021/07/09/10:43
 * @Description:
 */
public class Class implements Serializable {
    private int id;
    private String className;
    private String grade;
    private String teacher;
    private String slogan;
    private int total;

    public Class(int id, String className, String grade, String teacher, String slogan, int total) {
        this.id = id;
        this.className = className;
        this.grade = grade;
        this.teacher = teacher;
        this.slogan = slogan;
        this.total = total;
    }

    public Class() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getTeacher() {
        return teacher;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher;
    }

    public String getSlogan() {
        return slogan;
    }

    public void setSlogan(String slogan) {
        this.slogan = slogan;
    }

    public int getTotal() {
        return total;
    }

    @Override
    public String toString() {
        return "Class{" +
                "id=" + id +
                ", className='" + className + '\'' +
                ", grade='" + grade + '\'' +
                ", teacher='" + teacher + '\'' +
                ", slogan='" + slogan + '\'' +
                ", total=" + total +
                '}';
    }

    public void setTotal(int total) {
        this.total = total;
    }
}
